from . import FixtureTest


def _freeze(thing):
    if isinstance(thing, dict):
        return frozenset([(_freeze(k), _freeze(v)) for k, v in thing.items()])

    elif isinstance(thing, list):
        return tuple([_freeze(i) for i in thing])

    return thing


class MergeLanduse(FixtureTest):

    def test_merge_landuse(self):
        self.load_fixtures([
            'http://www.openstreetmap.org/relation/5195570',
            'http://www.openstreetmap.org/relation/4168681',
            'http://www.openstreetmap.org/relation/4054243',
            'http://www.openstreetmap.org/relation/3999631',
            'http://www.openstreetmap.org/relation/3839486',
            'http://www.openstreetmap.org/relation/3097274',
            'http://www.openstreetmap.org/relation/3097273',
            'http://www.openstreetmap.org/relation/3095509',
            'http://www.openstreetmap.org/relation/2891211',
            'http://www.openstreetmap.org/relation/1267605',
            'http://www.openstreetmap.org/relation/1267604',
            'http://www.openstreetmap.org/way/33146520',
            'http://www.openstreetmap.org/way/33146525',
            'http://www.openstreetmap.org/way/35085171',
            'http://www.openstreetmap.org/way/37884998',
            'http://www.openstreetmap.org/way/38311004',
            'http://www.openstreetmap.org/way/41592156',
            'http://www.openstreetmap.org/way/41595086',
            'http://www.openstreetmap.org/way/42325517',
            'http://www.openstreetmap.org/way/42325588',
            'http://www.openstreetmap.org/way/42326006',
            'http://www.openstreetmap.org/way/42326018',
            'http://www.openstreetmap.org/way/42326623',
            'http://www.openstreetmap.org/way/56214441',
            'http://www.openstreetmap.org/way/56214444',
            'http://www.openstreetmap.org/way/56327876',
            'http://www.openstreetmap.org/way/56968562',
            'http://www.openstreetmap.org/way/57402469',
            'http://www.openstreetmap.org/way/57402521',
            'http://www.openstreetmap.org/way/57978618',
            'http://www.openstreetmap.org/way/58072929',
            'http://www.openstreetmap.org/way/58072936',
            'http://www.openstreetmap.org/way/58072939',
            'http://www.openstreetmap.org/way/58072942',
            'http://www.openstreetmap.org/way/58072983',
            'http://www.openstreetmap.org/way/58072985',
            'http://www.openstreetmap.org/way/58073829',
            'http://www.openstreetmap.org/way/58073841',
            'http://www.openstreetmap.org/way/58107545',
            'http://www.openstreetmap.org/way/58108812',
            'http://www.openstreetmap.org/way/58108815',
            'http://www.openstreetmap.org/way/58162615',
            'http://www.openstreetmap.org/way/58162620',
            'http://www.openstreetmap.org/way/58162651',
            'http://www.openstreetmap.org/way/58169092',
            'http://www.openstreetmap.org/way/58169093',
            'http://www.openstreetmap.org/way/58169098',
            'http://www.openstreetmap.org/way/58270820',
            'http://www.openstreetmap.org/way/58270899',
            'http://www.openstreetmap.org/way/58529861',
            'http://www.openstreetmap.org/way/58529863',
            'http://www.openstreetmap.org/way/58651219',
            'http://www.openstreetmap.org/way/58651232',
            'http://www.openstreetmap.org/way/59519498',
            'http://www.openstreetmap.org/way/62333068',
            'http://www.openstreetmap.org/way/62333069',
            'http://www.openstreetmap.org/way/62333434',
            'http://www.openstreetmap.org/way/62720230',
            'http://www.openstreetmap.org/way/62763512',
            'http://www.openstreetmap.org/way/63617081',
            'http://www.openstreetmap.org/way/63617082',
            'http://www.openstreetmap.org/way/63617083',
            'http://www.openstreetmap.org/way/64220308',
            'http://www.openstreetmap.org/way/64613155',
            'http://www.openstreetmap.org/way/64613156',
            'http://www.openstreetmap.org/way/64714870',
            'http://www.openstreetmap.org/way/64714874',
            'http://www.openstreetmap.org/way/64714877',
            'http://www.openstreetmap.org/way/64733106',
            'http://www.openstreetmap.org/way/64733107',
            'http://www.openstreetmap.org/way/64733108',
            'http://www.openstreetmap.org/way/64733109',
            'http://www.openstreetmap.org/way/64733113',
            'http://www.openstreetmap.org/way/64738775',
            'http://www.openstreetmap.org/way/64738777',
            'http://www.openstreetmap.org/way/64738778',
            'http://www.openstreetmap.org/way/64877624',
            'http://www.openstreetmap.org/way/65052526',
            'http://www.openstreetmap.org/way/66969555',
            'http://www.openstreetmap.org/way/67567588',
            'http://www.openstreetmap.org/way/67719402',
            'http://www.openstreetmap.org/way/67719413',
            'http://www.openstreetmap.org/way/67729726',
            'http://www.openstreetmap.org/way/67729727',
            'http://www.openstreetmap.org/way/67729728',
            'http://www.openstreetmap.org/way/67729751',
            'http://www.openstreetmap.org/way/68869477',
            'http://www.openstreetmap.org/way/69191936',
            'http://www.openstreetmap.org/way/69193411',
            'http://www.openstreetmap.org/way/69215038',
            'http://www.openstreetmap.org/way/69695186',
            'http://www.openstreetmap.org/way/69939479',
            'http://www.openstreetmap.org/way/69946401',
            'http://www.openstreetmap.org/way/71055250',
            'http://www.openstreetmap.org/way/71859859',
            'http://www.openstreetmap.org/way/75490156',
            'http://www.openstreetmap.org/way/75589299',
            'http://www.openstreetmap.org/way/75589300',
            'http://www.openstreetmap.org/way/75590235',
            'http://www.openstreetmap.org/way/75590236',
            'http://www.openstreetmap.org/way/75590237',
            'http://www.openstreetmap.org/way/75592037',
            'http://www.openstreetmap.org/way/75592041',
            'http://www.openstreetmap.org/way/75592042',
            'http://www.openstreetmap.org/way/75601997',
            'http://www.openstreetmap.org/way/75601998',
            'http://www.openstreetmap.org/way/75601999',
            'http://www.openstreetmap.org/way/75602000',
            'http://www.openstreetmap.org/way/75603010',
            'http://www.openstreetmap.org/way/75603015',
            'http://www.openstreetmap.org/way/75603019',
            'http://www.openstreetmap.org/way/75603020',
            'http://www.openstreetmap.org/way/75863861',
            'http://www.openstreetmap.org/way/75863862',
            'http://www.openstreetmap.org/way/75863863',
            'http://www.openstreetmap.org/way/75863864',
            'http://www.openstreetmap.org/way/75863867',
            'http://www.openstreetmap.org/way/75863868',
            'http://www.openstreetmap.org/way/75863874',
            'http://www.openstreetmap.org/way/75869319',
            'http://www.openstreetmap.org/way/75869321',
            'http://www.openstreetmap.org/way/75869322',
            'http://www.openstreetmap.org/way/75869323',
            'http://www.openstreetmap.org/way/75869324',
            'http://www.openstreetmap.org/way/75869327',
            'http://www.openstreetmap.org/way/75869328',
            'http://www.openstreetmap.org/way/75869330',
            'http://www.openstreetmap.org/way/75869512',
            'http://www.openstreetmap.org/way/75869515',
            'http://www.openstreetmap.org/way/76235837',
            'http://www.openstreetmap.org/way/76236223',
            'http://www.openstreetmap.org/way/76281069',
            'http://www.openstreetmap.org/way/76281070',
            'http://www.openstreetmap.org/way/76281571',
            'http://www.openstreetmap.org/way/76281572',
            'http://www.openstreetmap.org/way/76281574',
            'http://www.openstreetmap.org/way/76281576',
            'http://www.openstreetmap.org/way/76281578',
            'http://www.openstreetmap.org/way/76285352',
            'http://www.openstreetmap.org/way/76285354',
            'http://www.openstreetmap.org/way/76285355',
            'http://www.openstreetmap.org/way/76508461',
            'http://www.openstreetmap.org/way/76649085',
            'http://www.openstreetmap.org/way/76670572',
            'http://www.openstreetmap.org/way/76676553',
            'http://www.openstreetmap.org/way/76676554',
            'http://www.openstreetmap.org/way/76676556',
            'http://www.openstreetmap.org/way/76676561',
            'http://www.openstreetmap.org/way/76684586',
            'http://www.openstreetmap.org/way/76684588',
            'http://www.openstreetmap.org/way/76690008',
            'http://www.openstreetmap.org/way/76694399',
            'http://www.openstreetmap.org/way/76694401',
            'http://www.openstreetmap.org/way/76782967',
            'http://www.openstreetmap.org/way/76782979',
            'http://www.openstreetmap.org/way/76790319',
            'http://www.openstreetmap.org/way/76790320',
            'http://www.openstreetmap.org/way/76790321',
            'http://www.openstreetmap.org/way/76790322',
            'http://www.openstreetmap.org/way/76790323',
            'http://www.openstreetmap.org/way/76790325',
            'http://www.openstreetmap.org/way/76790994',
            'http://www.openstreetmap.org/way/76790996',
            'http://www.openstreetmap.org/way/76790998',
            'http://www.openstreetmap.org/way/76791000',
            'http://www.openstreetmap.org/way/76791358',
            'http://www.openstreetmap.org/way/76791359',
            'http://www.openstreetmap.org/way/76791579',
            'http://www.openstreetmap.org/way/78017168',
            'http://www.openstreetmap.org/way/78254937',
            'http://www.openstreetmap.org/way/78256078',
            'http://www.openstreetmap.org/way/78378481',
            'http://www.openstreetmap.org/way/78378482',
            'http://www.openstreetmap.org/way/78379484',
            'http://www.openstreetmap.org/way/78473166',
            'http://www.openstreetmap.org/way/78473169',
            'http://www.openstreetmap.org/way/78473171',
            'http://www.openstreetmap.org/way/78473349',
            'http://www.openstreetmap.org/way/81982680',
            'http://www.openstreetmap.org/way/82457963',
            'http://www.openstreetmap.org/way/82457964',
            'http://www.openstreetmap.org/way/82459925',
            'http://www.openstreetmap.org/way/82463206',
            'http://www.openstreetmap.org/way/82467296',
            'http://www.openstreetmap.org/way/82467297',
            'http://www.openstreetmap.org/way/82467299',
            'http://www.openstreetmap.org/way/82467300',
            'http://www.openstreetmap.org/way/82467301',
            'http://www.openstreetmap.org/way/82467302',
            'http://www.openstreetmap.org/way/82467304',
            'http://www.openstreetmap.org/way/82467305',
            'http://www.openstreetmap.org/way/82467307',
            'http://www.openstreetmap.org/way/82467308',
            'http://www.openstreetmap.org/way/82470552',
            'http://www.openstreetmap.org/way/82470553',
            'http://www.openstreetmap.org/way/82681041',
            'http://www.openstreetmap.org/way/82979691',
            'http://www.openstreetmap.org/way/82979694',
            'http://www.openstreetmap.org/way/82979702',
            'http://www.openstreetmap.org/way/82979704',
            'http://www.openstreetmap.org/way/82979707',
            'http://www.openstreetmap.org/way/82979709',
            'http://www.openstreetmap.org/way/82992853',
            'http://www.openstreetmap.org/way/83927260',
            'http://www.openstreetmap.org/way/83927266',
            'http://www.openstreetmap.org/way/83927268',
            'http://www.openstreetmap.org/way/83939606',
            'http://www.openstreetmap.org/way/84457208',
            'http://www.openstreetmap.org/way/91649184',
            'http://www.openstreetmap.org/way/91977637',
            'http://www.openstreetmap.org/way/91977642',
            'http://www.openstreetmap.org/way/91977649',
            'http://www.openstreetmap.org/way/91977656',
            'http://www.openstreetmap.org/way/91977657',
            'http://www.openstreetmap.org/way/91977659',
            'http://www.openstreetmap.org/way/91977661',
            'http://www.openstreetmap.org/way/96260211',
            'http://www.openstreetmap.org/way/96260217',
            'http://www.openstreetmap.org/way/97092026',
            'http://www.openstreetmap.org/way/100195875',
            'http://www.openstreetmap.org/way/101430877',
            'http://www.openstreetmap.org/way/114871935',
            'http://www.openstreetmap.org/way/118204514',
            'http://www.openstreetmap.org/way/129466224',
            'http://www.openstreetmap.org/way/148387938',
            'http://www.openstreetmap.org/way/148388878',
            'http://www.openstreetmap.org/way/148399996',
            'http://www.openstreetmap.org/way/148405022',
            'http://www.openstreetmap.org/way/148646832',
            'http://www.openstreetmap.org/way/148646834',
            'http://www.openstreetmap.org/way/148758008',
            'http://www.openstreetmap.org/way/148763293',
            'http://www.openstreetmap.org/way/148763296',
            'http://www.openstreetmap.org/way/148763316',
            'http://www.openstreetmap.org/way/148763322',
            'http://www.openstreetmap.org/way/148763327',
            'http://www.openstreetmap.org/way/148763335',
            'http://www.openstreetmap.org/way/150137993',
            'http://www.openstreetmap.org/way/150137997',
            'http://www.openstreetmap.org/way/150138006',
            'http://www.openstreetmap.org/way/151309262',
            'http://www.openstreetmap.org/way/151589643',
            'http://www.openstreetmap.org/way/151589646',
            'http://www.openstreetmap.org/way/151589647',
            'http://www.openstreetmap.org/way/151627862',
            'http://www.openstreetmap.org/way/152193595',
            'http://www.openstreetmap.org/way/152193596',
            'http://www.openstreetmap.org/way/152194768',
            'http://www.openstreetmap.org/way/152326455',
            'http://www.openstreetmap.org/way/152326462',
            'http://www.openstreetmap.org/way/152326465',
            'http://www.openstreetmap.org/way/152466310',
            'http://www.openstreetmap.org/way/152640341',
            'http://www.openstreetmap.org/way/152640351',
            'http://www.openstreetmap.org/way/152640354',
            'http://www.openstreetmap.org/way/152640359',
            'http://www.openstreetmap.org/way/152640362',
            'http://www.openstreetmap.org/way/152832438',
            'http://www.openstreetmap.org/way/152925065',
            'http://www.openstreetmap.org/way/152932389',
            'http://www.openstreetmap.org/way/164255241',
            'http://www.openstreetmap.org/way/164255243',
            'http://www.openstreetmap.org/way/164256322',
            'http://www.openstreetmap.org/way/164336890',
            'http://www.openstreetmap.org/way/164345530',
            'http://www.openstreetmap.org/way/164345531',
            'http://www.openstreetmap.org/way/164345537',
            'http://www.openstreetmap.org/way/164345538',
            'http://www.openstreetmap.org/way/164345541',
            'http://www.openstreetmap.org/way/164345546',
            'http://www.openstreetmap.org/way/164349636',
            'http://www.openstreetmap.org/way/164349640',
            'http://www.openstreetmap.org/way/164349641',
            'http://www.openstreetmap.org/way/164349643',
            'http://www.openstreetmap.org/way/164351394',
            'http://www.openstreetmap.org/way/164351628',
            'http://www.openstreetmap.org/way/164351631',
            'http://www.openstreetmap.org/way/164352704',
            'http://www.openstreetmap.org/way/164358014',
            'http://www.openstreetmap.org/way/164358022',
            'http://www.openstreetmap.org/way/164547941',
            'http://www.openstreetmap.org/way/164547946',
            'http://www.openstreetmap.org/way/164547948',
            'http://www.openstreetmap.org/way/164547949',
            'http://www.openstreetmap.org/way/164547950',
            'http://www.openstreetmap.org/way/164548280',
            'http://www.openstreetmap.org/way/164548282',
            'http://www.openstreetmap.org/way/164548287',
            'http://www.openstreetmap.org/way/164548289',
            'http://www.openstreetmap.org/way/164548292',
            'http://www.openstreetmap.org/way/164548294',
            'http://www.openstreetmap.org/way/164548296',
            'http://www.openstreetmap.org/way/164548307',
            'http://www.openstreetmap.org/way/165533232',
            'http://www.openstreetmap.org/way/165533499',
            'http://www.openstreetmap.org/way/165533500',
            'http://www.openstreetmap.org/way/165533501',
            'http://www.openstreetmap.org/way/165533986',
            'http://www.openstreetmap.org/way/165533988',
            'http://www.openstreetmap.org/way/165536153',
            'http://www.openstreetmap.org/way/166024800',
            'http://www.openstreetmap.org/way/166024801',
            'http://www.openstreetmap.org/way/171357300',
            'http://www.openstreetmap.org/way/171357301',
            'http://www.openstreetmap.org/way/171357302',
            'http://www.openstreetmap.org/way/171357303',
            'http://www.openstreetmap.org/way/172597638',
            'http://www.openstreetmap.org/way/172645883',
            'http://www.openstreetmap.org/way/173042700',
            'http://www.openstreetmap.org/way/173042706',
            'http://www.openstreetmap.org/way/173042710',
            'http://www.openstreetmap.org/way/173042713',
            'http://www.openstreetmap.org/way/173042717',
            'http://www.openstreetmap.org/way/173196884',
            'http://www.openstreetmap.org/way/179050041',
            'http://www.openstreetmap.org/way/181674394',
            'http://www.openstreetmap.org/way/184680919',
            'http://www.openstreetmap.org/way/194709469',
            'http://www.openstreetmap.org/way/194709470',
            'http://www.openstreetmap.org/way/194709471',
            'http://www.openstreetmap.org/way/214399085',
            'http://www.openstreetmap.org/way/214399087',
            'http://www.openstreetmap.org/way/214399088',
            'http://www.openstreetmap.org/way/218120810',
            'http://www.openstreetmap.org/way/218136050',
            'http://www.openstreetmap.org/way/219350762',
            'http://www.openstreetmap.org/way/219350788',
            'http://www.openstreetmap.org/way/219574661',
            'http://www.openstreetmap.org/way/219593232',
            'http://www.openstreetmap.org/way/219593240',
            'http://www.openstreetmap.org/way/219722583',
            'http://www.openstreetmap.org/way/219722584',
            'http://www.openstreetmap.org/way/219722585',
            'http://www.openstreetmap.org/way/219722586',
            'http://www.openstreetmap.org/way/219722587',
            'http://www.openstreetmap.org/way/219722589',
            'http://www.openstreetmap.org/way/220510588',
            'http://www.openstreetmap.org/way/220510973',
            'http://www.openstreetmap.org/way/220512568',
            'http://www.openstreetmap.org/way/220514124',
            'http://www.openstreetmap.org/way/220536205',
            'http://www.openstreetmap.org/way/220879871',
            'http://www.openstreetmap.org/way/222189329',
            'http://www.openstreetmap.org/way/222537494',
            'http://www.openstreetmap.org/way/222565168',
            'http://www.openstreetmap.org/way/222565169',
            'http://www.openstreetmap.org/way/222822662',
            'http://www.openstreetmap.org/way/223248196',
            'http://www.openstreetmap.org/way/230315544',
            'http://www.openstreetmap.org/way/230315545',
            'http://www.openstreetmap.org/way/230315546',
            'http://www.openstreetmap.org/way/230318489',
            'http://www.openstreetmap.org/way/230318490',
            'http://www.openstreetmap.org/way/230318491',
            'http://www.openstreetmap.org/way/230318495',
            'http://www.openstreetmap.org/way/230318496',
            'http://www.openstreetmap.org/way/230318498',
            'http://www.openstreetmap.org/way/230318499',
            'http://www.openstreetmap.org/way/230318504',
            'http://www.openstreetmap.org/way/230318506',
            'http://www.openstreetmap.org/way/230446221',
            'http://www.openstreetmap.org/way/230446226',
            'http://www.openstreetmap.org/way/230509491',
            'http://www.openstreetmap.org/way/230509495',
            'http://www.openstreetmap.org/way/230509501',
            'http://www.openstreetmap.org/way/230509513',
            'http://www.openstreetmap.org/way/237026837',
            'http://www.openstreetmap.org/way/237026838',
            'http://www.openstreetmap.org/way/237824858',
            'http://www.openstreetmap.org/way/237824862',
            'http://www.openstreetmap.org/way/237824863',
            'http://www.openstreetmap.org/way/237824865',
            'http://www.openstreetmap.org/way/237824866',
            'http://www.openstreetmap.org/way/237824868',
            'http://www.openstreetmap.org/way/237824869',
            'http://www.openstreetmap.org/way/237826574',
            'http://www.openstreetmap.org/way/238301638',
            'http://www.openstreetmap.org/way/238492458',
            'http://www.openstreetmap.org/way/239508255',
            'http://www.openstreetmap.org/way/239508256',
            'http://www.openstreetmap.org/way/239508259',
            'http://www.openstreetmap.org/way/239640066',
            'http://www.openstreetmap.org/way/239640077',
            'http://www.openstreetmap.org/way/239640098',
            'http://www.openstreetmap.org/way/239640117',
            'http://www.openstreetmap.org/way/239640135',
            'http://www.openstreetmap.org/way/239640140',
            'http://www.openstreetmap.org/way/239640146',
            'http://www.openstreetmap.org/way/239705738',
            'http://www.openstreetmap.org/way/239705739',
            'http://www.openstreetmap.org/way/239705740',
            'http://www.openstreetmap.org/way/239705790',
            'http://www.openstreetmap.org/way/239706175',
            'http://www.openstreetmap.org/way/239872189',
            'http://www.openstreetmap.org/way/239872192',
            'http://www.openstreetmap.org/way/239872302',
            'http://www.openstreetmap.org/way/239914262',
            'http://www.openstreetmap.org/way/239914263',
            'http://www.openstreetmap.org/way/239914265',
            'http://www.openstreetmap.org/way/240705000',
            'http://www.openstreetmap.org/way/240708880',
            'http://www.openstreetmap.org/way/240721920',
            'http://www.openstreetmap.org/way/240721923',
            'http://www.openstreetmap.org/way/240721929',
            'http://www.openstreetmap.org/way/241874419',
            'http://www.openstreetmap.org/way/242113500',
            'http://www.openstreetmap.org/way/242113508',
            'http://www.openstreetmap.org/way/242113513',
            'http://www.openstreetmap.org/way/242113542',
            'http://www.openstreetmap.org/way/242113555',
            'http://www.openstreetmap.org/way/242113568',
            'http://www.openstreetmap.org/way/242167277',
            'http://www.openstreetmap.org/way/242167295',
            'http://www.openstreetmap.org/way/242296123',
            'http://www.openstreetmap.org/way/242296126',
            'http://www.openstreetmap.org/way/242393253',
            'http://www.openstreetmap.org/way/242393254',
            'http://www.openstreetmap.org/way/242393263',
            'http://www.openstreetmap.org/way/242420743',
            'http://www.openstreetmap.org/way/242551014',
            'http://www.openstreetmap.org/way/242551026',
            'http://www.openstreetmap.org/way/242551040',
            'http://www.openstreetmap.org/way/242551047',
            'http://www.openstreetmap.org/way/242551051',
            'http://www.openstreetmap.org/way/242667990',
            'http://www.openstreetmap.org/way/242668014',
            'http://www.openstreetmap.org/way/243359469',
            'http://www.openstreetmap.org/way/243359521',
            'http://www.openstreetmap.org/way/244041567',
            'http://www.openstreetmap.org/way/244865925',
            'http://www.openstreetmap.org/way/246360689',
            'http://www.openstreetmap.org/way/246360709',
            'http://www.openstreetmap.org/way/246395788',
            'http://www.openstreetmap.org/way/246395790',
            'http://www.openstreetmap.org/way/254692842',
            'http://www.openstreetmap.org/way/258270058',
            'http://www.openstreetmap.org/way/258270064',
            'http://www.openstreetmap.org/way/258345781',
            'http://www.openstreetmap.org/way/259770463',
            'http://www.openstreetmap.org/way/260180426',
            'http://www.openstreetmap.org/way/260180430',
            'http://www.openstreetmap.org/way/260592522',
            'http://www.openstreetmap.org/way/260592524',
            'http://www.openstreetmap.org/way/260592525',
            'http://www.openstreetmap.org/way/260592527',
            'http://www.openstreetmap.org/way/260592529',
            'http://www.openstreetmap.org/way/260819992',
            'http://www.openstreetmap.org/way/260819993',
            'http://www.openstreetmap.org/way/260819996',
            'http://www.openstreetmap.org/way/263326059',
            'http://www.openstreetmap.org/way/263326061',
            'http://www.openstreetmap.org/way/263326062',
            'http://www.openstreetmap.org/way/263326070',
            'http://www.openstreetmap.org/way/263346482',
            'http://www.openstreetmap.org/way/263777271',
            'http://www.openstreetmap.org/way/263777274',
            'http://www.openstreetmap.org/way/263778223',
            'http://www.openstreetmap.org/way/263780597',
            'http://www.openstreetmap.org/way/263780598',
            'http://www.openstreetmap.org/way/263781613',
            'http://www.openstreetmap.org/way/263781618',
            'http://www.openstreetmap.org/way/263827986',
            'http://www.openstreetmap.org/way/263827993',
            'http://www.openstreetmap.org/way/263827994',
            'http://www.openstreetmap.org/way/263828850',
            'http://www.openstreetmap.org/way/263828851',
            'http://www.openstreetmap.org/way/263828853',
            'http://www.openstreetmap.org/way/263829264',
            'http://www.openstreetmap.org/way/263829265',
            'http://www.openstreetmap.org/way/263829266',
            'http://www.openstreetmap.org/way/263832649',
            'http://www.openstreetmap.org/way/263962079',
            'http://www.openstreetmap.org/way/263962081',
            'http://www.openstreetmap.org/way/263962082',
            'http://www.openstreetmap.org/way/263962083',
            'http://www.openstreetmap.org/way/263963219',
            'http://www.openstreetmap.org/way/263963220',
            'http://www.openstreetmap.org/way/263963221',
            'http://www.openstreetmap.org/way/263963222',
            'http://www.openstreetmap.org/way/263963225',
            'http://www.openstreetmap.org/way/263963235',
            'http://www.openstreetmap.org/way/263963236',
            'http://www.openstreetmap.org/way/264004271',
            'http://www.openstreetmap.org/way/264004272',
            'http://www.openstreetmap.org/way/264004765',
            'http://www.openstreetmap.org/way/264004766',
            'http://www.openstreetmap.org/way/264004767',
            'http://www.openstreetmap.org/way/264009818',
            'http://www.openstreetmap.org/way/264009822',
            'http://www.openstreetmap.org/way/264009824',
            'http://www.openstreetmap.org/way/264009825',
            'http://www.openstreetmap.org/way/264009826',
            'http://www.openstreetmap.org/way/264009827',
            'http://www.openstreetmap.org/way/264009839',
            'http://www.openstreetmap.org/way/264009840',
            'http://www.openstreetmap.org/way/264234930',
            'http://www.openstreetmap.org/way/264234931',
            'http://www.openstreetmap.org/way/264234932',
            'http://www.openstreetmap.org/way/264235326',
            'http://www.openstreetmap.org/way/264309705',
            'http://www.openstreetmap.org/way/264309712',
            'http://www.openstreetmap.org/way/264309716',
            'http://www.openstreetmap.org/way/264526165',
            'http://www.openstreetmap.org/way/265848885',
            'http://www.openstreetmap.org/way/266736998',
            'http://www.openstreetmap.org/way/266736999',
            'http://www.openstreetmap.org/way/266737001',
            'http://www.openstreetmap.org/way/266737053',
            'http://www.openstreetmap.org/way/266737057',
            'http://www.openstreetmap.org/way/268279508',
            'http://www.openstreetmap.org/way/268913320',
            'http://www.openstreetmap.org/way/269741843',
            'http://www.openstreetmap.org/way/269741902',
            'http://www.openstreetmap.org/way/269822802',
            'http://www.openstreetmap.org/way/269822804',
            'http://www.openstreetmap.org/way/269822805',
            'http://www.openstreetmap.org/way/269822806',
            'http://www.openstreetmap.org/way/269822807',
            'http://www.openstreetmap.org/way/269822809',
            'http://www.openstreetmap.org/way/272496334',
            'http://www.openstreetmap.org/way/281655635',
            'http://www.openstreetmap.org/way/281739327',
            'http://www.openstreetmap.org/way/284993824',
            'http://www.openstreetmap.org/way/284993853',
            'http://www.openstreetmap.org/way/284993858',
            'http://www.openstreetmap.org/way/284993862',
            'http://www.openstreetmap.org/way/284993865',
            'http://www.openstreetmap.org/way/284993866',
            'http://www.openstreetmap.org/way/284994366',
            'http://www.openstreetmap.org/way/284995100',
            'http://www.openstreetmap.org/way/289146731',
            'http://www.openstreetmap.org/way/289146732',
            'http://www.openstreetmap.org/way/294302806',
            'http://www.openstreetmap.org/way/294961981',
            'http://www.openstreetmap.org/way/294961982',
            'http://www.openstreetmap.org/way/299743536',
            'http://www.openstreetmap.org/way/299747297',
            'http://www.openstreetmap.org/way/299748483',
            'http://www.openstreetmap.org/way/303687248',
            'http://www.openstreetmap.org/way/307666671',
            'http://www.openstreetmap.org/way/307810819',
            'http://www.openstreetmap.org/way/307810820',
            'http://www.openstreetmap.org/way/307810821',
            'http://www.openstreetmap.org/way/307810885',
            'http://www.openstreetmap.org/way/307826327',
            'http://www.openstreetmap.org/way/307826329',
            'http://www.openstreetmap.org/way/307965528',
            'http://www.openstreetmap.org/way/307965590',
            'http://www.openstreetmap.org/way/308670489',
            'http://www.openstreetmap.org/way/308860725',
            'http://www.openstreetmap.org/way/308907850',
            'http://www.openstreetmap.org/way/310267568',
            'http://www.openstreetmap.org/way/311018555',
            'http://www.openstreetmap.org/way/319928963',
            'http://www.openstreetmap.org/way/319928967',
            'http://www.openstreetmap.org/way/320169752',
            'http://www.openstreetmap.org/way/322316637',
            'http://www.openstreetmap.org/way/324120209',
            'http://www.openstreetmap.org/way/329205500',
            'http://www.openstreetmap.org/way/329740383',
            'http://www.openstreetmap.org/way/330431208',
            'http://www.openstreetmap.org/way/330431209',
            'http://www.openstreetmap.org/way/330431211',
            'http://www.openstreetmap.org/way/330551861',
            'http://www.openstreetmap.org/way/330551864',
            'http://www.openstreetmap.org/way/330551866',
            'http://www.openstreetmap.org/way/331227250',
            'http://www.openstreetmap.org/way/331227255',
            'http://www.openstreetmap.org/way/331227260',
            'http://www.openstreetmap.org/way/334372709',
            'http://www.openstreetmap.org/way/339822391',
            'http://www.openstreetmap.org/way/339822392',
            'http://www.openstreetmap.org/way/350168899',
            'http://www.openstreetmap.org/way/356824782',
            'http://www.openstreetmap.org/way/356833485',
            'http://www.openstreetmap.org/way/359842514',
            'http://www.openstreetmap.org/way/359842516',
            'http://www.openstreetmap.org/way/359995717',
            'http://www.openstreetmap.org/way/360036864',
            'http://www.openstreetmap.org/way/360036867',
            'http://www.openstreetmap.org/way/360036868',
            'http://www.openstreetmap.org/way/360036870',
            'http://www.openstreetmap.org/way/360036873',
            'http://www.openstreetmap.org/way/360036874',
            'http://www.openstreetmap.org/way/360036876',
            'http://www.openstreetmap.org/way/360036880',
            'http://www.openstreetmap.org/way/360036883',
            'http://www.openstreetmap.org/way/360036884',
            'http://www.openstreetmap.org/way/360036885',
            'http://www.openstreetmap.org/way/360036886',
            'http://www.openstreetmap.org/way/360036887',
            'http://www.openstreetmap.org/way/360036888',
            'http://www.openstreetmap.org/way/360036890',
            'http://www.openstreetmap.org/way/360036891',
            'http://www.openstreetmap.org/way/360036892',
            'http://www.openstreetmap.org/way/360036897',
            'http://www.openstreetmap.org/way/361937500',
            'http://www.openstreetmap.org/way/362223545',
            'http://www.openstreetmap.org/way/362223546',
            'http://www.openstreetmap.org/way/362223549',
            'http://www.openstreetmap.org/way/362223551',
            'http://www.openstreetmap.org/way/362223553',
            'http://www.openstreetmap.org/way/362223556',
            'http://www.openstreetmap.org/way/362223560',
            'http://www.openstreetmap.org/way/362223568',
            'http://www.openstreetmap.org/way/362223569',
            'http://www.openstreetmap.org/way/362223570',
            'http://www.openstreetmap.org/way/362223572',
            'http://www.openstreetmap.org/way/362223590',
            'http://www.openstreetmap.org/way/362223591',
            'http://www.openstreetmap.org/way/362223596',
            'http://www.openstreetmap.org/way/362223598',
            'http://www.openstreetmap.org/way/362223603',
            'http://www.openstreetmap.org/way/362223605',
            'http://www.openstreetmap.org/way/362223606',
            'http://www.openstreetmap.org/way/369526714',
            'http://www.openstreetmap.org/way/369835074',
            'http://www.openstreetmap.org/way/370101297',
            'http://www.openstreetmap.org/way/370101298',
            'http://www.openstreetmap.org/way/370165192',
            'http://www.openstreetmap.org/way/370165198',
            'http://www.openstreetmap.org/way/372687495',
            'http://www.openstreetmap.org/way/389333816',
            'http://www.openstreetmap.org/way/390555840',
            'http://www.openstreetmap.org/way/390555846',
            'http://www.openstreetmap.org/way/396712923',
            'http://www.openstreetmap.org/way/397278055',
            'http://www.openstreetmap.org/way/397509512',
            'http://www.openstreetmap.org/way/397509515',
            'http://www.openstreetmap.org/way/403721618',
            'http://www.openstreetmap.org/way/403721621',
            'http://www.openstreetmap.org/way/403721622',
            'http://www.openstreetmap.org/way/403721624',
            'http://www.openstreetmap.org/way/403721626',
            'http://www.openstreetmap.org/way/407269350',
        ])

        # check that there are no duplicates
        with self.features_in_tile_layer(9, 245, 166, 'landuse') as landuse:
            feature_props = set()

            for feature in landuse:
                p = feature['properties'].copy()

                # ignore label placements
                if p.get('label_placement'):
                    continue

                # ignore ID, area when checking for uniqueness
                p.pop('id', None)
                p.pop('area', None)

                props = frozenset(_freeze(p))
                self.assertFalse(
                    props in feature_props,
                    'Duplicate properties %r in landuse layer, but '
                    'properties should be unique (except ID, area).'
                    % feature['properties'])
                feature_props.add(props)
